// -----------------------------------------------------------------------
//  <copyright file="DictionaryItemInDto.cs" company="LiuliuSoft">
//      Copyright (c) 2025 66SOFT. All rights reserved.
//  </copyright>
//  <site>https://dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-10-17 01:10</last-date>
// -----------------------------------------------------------------------

using DaprPlus.DataDicts.Domain.Entities;
using DaprPlus.Mapping;


namespace DaprPlus.DataDicts.Domain.Dtos;

[MapTo(typeof(DictionaryItem))]
public class DictionaryItemInDto
{
    public long Id { get; set; }
    public required string Label { get; set; }
    public required string Value { get; set; }
    public string? Remark { get; set; }
    public int Order { get; set; }
    public string? Icon { get; set; }
    public string? Color { get; set; }
    public bool IsLocked { get; set; }
    public long DictionaryTypeId { get; set; }
}
